#pragma once
#include "cybertron/sensor/noise/NoiseBase.hpp"
#include <chrono>

CYBERTRON_BEGIN

class TimeNoise : public NoiseBase
{
public:
	TimeNoise(NoiseType noiseType);
	virtual ~TimeNoise();
	void resetNoise() override;

	double elapsedTime() const;
	void resetTime();

protected:
	std::chrono::high_resolution_clock::time_point m_initialTime;
};

CYBERTRON_END